package com.itmuch.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 *	config client和多个config server的连接(负载均衡):
 *		1.创建这个项目和microservice-config-client-eureka
 *		2.添加maven包的eureka				
 *      3.主类添加注解@@EnableEurekaClient	
 * 		4.		
 * 
 */


@EnableEurekaClient
@EnableConfigServer
@SpringBootApplication
public class MicroserviceServerApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(MicroserviceServerApplication.class, args);
		
	}
	
	
}
